package com.water.expert.extraction.exception;

import org.springframework.core.NestedRuntimeException;
import org.springframework.http.HttpStatus;
import org.springframework.lang.Nullable;
import org.springframework.web.bind.annotation.ResponseStatus;

@ResponseStatus(HttpStatus.BAD_REQUEST)
public class CustomValidationException  extends NestedRuntimeException{
	private static final long serialVersionUID = -8745389572364138355L;

	public CustomValidationException(@Nullable String msg) {
		super(msg);
	}

	public CustomValidationException(@Nullable String msg, @Nullable Throwable cause) {
		super(msg, cause);
	}
}
